package com.jiancong.service;

import com.jiancong.domain.ResponseResult;
import com.jiancong.domain.entity.Category;
import com.jiancong.domain.vo.CategoryVo;
import com.jiancong.domain.vo.PageVo;

import java.util.List;


/**
 * 分类表(Category)表服务接口
 *
 * @author makejava
 * @since 2022-02-02 12:29:50
 */
public interface CategoryService{

    List<CategoryVo> listAllCategory();

    List<CategoryVo> getCategoryList();

    ResponseResult<Category> selectCategoryPage(Category category, Integer pageNum, Integer pageSize);

    ResponseResult save(Category category);

    ResponseResult removeById(Long id);

    List<Category> list();

    ResponseResult getCategoryById(Long id);

    ResponseResult updateCategory(Category category);
}

